home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / System 7 / S / Smooth Updates 0.9.sit / Smooth Updates ƒ / source / smupdate.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-17  |  688 b   |  27 lines  |  [TEXT/KAHL]

  1. /*
  2.  * smupdate.h
  3.  * Copyright (c) 1993 Mark C Smith
  4.  */
  5.  
  6.  
  7. typedef pascal short (*GestaltProcPtr)( OSType selector, long *response );
  8.  
  9. #define STR_ONOFF        -4064    /* if first character of this STR resource is '0' we
  10.                                     are turned off, otherwise on */
  11.  
  12. /*
  13.  * the rest is lifted from Essential.h, with changes
  14.  */
  15. #define WayBadValue    0x50FF8001    // borrowed this value from EvenBetterBusError
  16.                                 // just in case we do something wrong, we’ll
  17.                                 // know right away.
  18.  
  19. /*
  20.  * these are the different selectors that can be passed to our Gestalt routine
  21.  */
  22. #define sSmUpdate        'SmUp'
  23. #define sSmOn            'SmOn'
  24. #define sSmOff            'SmOf'
  25. #define sSmStatus        'SmSt'
  26.  
  27. void ShowINIT(short iconID);